using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AcessoBDProjeto;

namespace Concessionaria
{
    public partial class frmPrincipal : Form
    {
        public BD_Proj bd = new BD_Proj();
        
        public frmPrincipal()
        {
            InitializeComponent();
        }

        private void cadastroDeToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmCadastroAutoEstoque cadAutoEstoque = new frmCadastroAutoEstoque();
            cadAutoEstoque.Show();           
        }

        private void cadastroDeAutomoveisToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCadastroAutoFabrica cadAutoFabrica = new frmCadastroAutoFabrica();
            cadAutoFabrica.Show();
        }

        private void mnuArqSair_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void mnuCadClientes_Click(object sender, EventArgs e)
        {
            frmCadastroClientes cadClientes = new frmCadastroClientes();
            cadClientes.Show();
        }

        private void frmPrincipal_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void mnuCadFuncionario_Click(object sender, EventArgs e)
        {
            frmCadFuncionario cadFuncionario = new frmCadFuncionario();
            cadFuncionario.Show();
        }

        private void mnuCadastro_Click(object sender, EventArgs e)
        {

        }

        private void mnuCadCargos_Click(object sender, EventArgs e)
        {
            frmCadCargos cadCargos = new frmCadCargos();
            cadCargos.Show();
        }
              
        private void mnuCadUsuarios_Click(object sender, EventArgs e)
        {
            frmCadastroUsuario cadUsuario = new frmCadastroUsuario();
            cadUsuario.Show();
        }

        private void mnuContVendas_Click(object sender, EventArgs e)
        {
            frmVendas formVenda = new frmVendas();
            formVenda.Show();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }
    }
}